package net.xiduth.game.player.content;

import net.xiduth.game.player.Player;


/**
 * 
 * @author Oracle
 * 
 * Idk what to do with these..
 *
 */
public class TiRewards {
public static int ENOUGH = 200000, ENOUGH1 = 50000, TOKENS = 2996, ENOUGH2 = 350000;
	
				public static void HandleRapier(Player player) {
					if (player.getInventory().containsItem(TOKENS, ENOUGH)) {
						player.getInventory().addItem(18349, 1);
						player.getInventory().deleteItem(TOKENS, ENOUGH);
						player.getInventory().refresh();
					}
					else {
						player.sm("You must have 200,000 tickets to purchase this item.");
					}
				}
				public static void HandleChaoticLong(Player player) {
					if (player.getInventory().containsItem(TOKENS, ENOUGH)) {
						player.getInventory().addItem(18351, 1);
						player.getInventory().deleteItem(TOKENS, ENOUGH);
						player.getInventory().refresh();

						
					}
					else {
						player.sm("You must have 200,000 tickets to purchase this item.");
					}
				}
				public static void HandleChaoticShield(Player player) {
					if (player.getInventory().containsItem(TOKENS, ENOUGH2)) {
						player.getInventory().addItem(18359, 1);
						player.getInventory().deleteItem(TOKENS, ENOUGH2);
						player.getInventory().refresh();

						
					}
					else {
						player.sm("You must have 350,000 tickets to purchase this item.");
					}
				}				
				public static void HandleStaff(Player player) {
					if (player.getInventory().containsItem(TOKENS, ENOUGH)) {
						player.getInventory().addItem(18355, 1);
						player.getInventory().deleteItem(TOKENS, ENOUGH);
						player.getInventory().refresh();

						
					}
					else {
						player.sm("You must have 200,000 tickets to purchase this item.");
					}
				}		public static void HandleBow(Player player) {
					if (player.getInventory().containsItem(TOKENS, ENOUGH)) {
						player.getInventory().addItem(18357, 1);
						player.getInventory().deleteItem(TOKENS, ENOUGH);
						player.getInventory().refresh();

						
					}
					else {
						player.sm("You must have 200,000 tickets to purchase this item.");
					}
				}
				public static void HandleMaul(Player player) {
					if (player.getInventory().containsItem(TOKENS, ENOUGH)) {
						player.getInventory().addItem(18353, 1);
						player.getInventory().deleteItem(TOKENS, ENOUGH);
						player.getInventory().refresh();

						
					}
					else {
						player.sm("You must have 200,000 tickets to purchase this item.");
					}
				}
				public static void HandleVigour(Player player) {
					if (player.getInventory().containsItem(TOKENS, 75000)) {
						player.getInventory().addItem(19669, 1);
						player.getInventory().deleteItem(TOKENS, 75000);
						player.getInventory().refresh();

						
					}
					else {
						player.sm("You must have 75,000 tickets to purchase this item.");
					}
				}
				public static void HandleFarseer(Player player) {
					if (player.getInventory().containsItem(TOKENS, 75000)) {
						player.getInventory().addItem(18363, 1);
						player.getInventory().deleteItem(TOKENS, 75000);
						player.getInventory().refresh();

						
					}
					else {
						player.sm("You must have 75,000 tickets to purchase this item.");
					}
				}
				public static void HandleLongsword(Player player) {
					if (player.getInventory().containsItem(TOKENS, ENOUGH)) {
						player.getInventory().addItem(18351, 1);
						player.getInventory().deleteItem(TOKENS, ENOUGH);
						player.getInventory().refresh();

						
					}
					else {
						player.sm("You must have 200,000 tickets to purchase this item.");
					}
				}
				public static void HandleStreamNeck(Player player) {
					if (player.getInventory().containsItem(TOKENS, ENOUGH1)) {
						player.getInventory().addItem(18335, 1);
						player.getInventory().deleteItem(TOKENS, ENOUGH1);
						player.getInventory().refresh();

						
					}
					else {
						player.sm("You must have 50,000 tickets to purchase this item.");
					}
					}
					public static void HandleEagle(Player player) {
						if (player.getInventory().containsItem(TOKENS, ENOUGH1)) {
							player.getInventory().addItem(18361, 1);
							player.getInventory().deleteItem(TOKENS, ENOUGH1);
							player.getInventory().refresh();
	
							
						}
						else {
							player.sm("You must have 50,000 tickets to purchase this item.");
				}
					}
}
